<?php

defined( 'PDNS_AUTH' ) or die( "Unauthorized" );

$entries = $model->entries;
?>


<p>Datetime is UTC timezone.  Showing most recent 100 entries.</p>

<table>
<tr>
	<th>Datetime</th>
	<th>User</th>
	<th>Domain</th>
	<th>Message</th>
</tr>
<?php foreach( $entries as $e ): ?>
	<tr>
		<!-- Record ID: <?php echo $e->id; ?> -->
		<td><?php echo $e->when; ?></td>
		<td style='calign'><?php echo $e->user; ?></td>
		<td><?php echo $e->domain; ?></td>
		<td><?php echo $e->msg; ?></td>
	</tr>
<?php endforeach; ?>
</table>
